package com.example.xiaosuan.abcdemo;

import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity implements View.OnClickListener{
    private Button button;
    private TextView textView;
    Handler mHandler;
    float i;
    private  final  static  int pro_magtype_1=101;
        private  final  static  int MSG_FINISH=1;
    Runnable ui_runnable=new Runnable() {
        @Override
        public void run() {
            Message mag=new Message();
            mag.what=pro_magtype_1;
            mag.arg1=MSG_FINISH;
            mag.obj=ADCService_adc_on();
            mHandler.sendMessage(mag);
        }
    };

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    public void onClick(View view) {

    }
}
